package com.ruoyi.cat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 分享用户对象 cat_shareuser_table
 * 
 * @author ruoyi
 * @date 2024-12-24
 */
public class CatShareuserTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 文章id */
    @Excel(name = "文章id")
    private Long articleId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 阅读数量 */
    @Excel(name = "阅读数量")
    private Long quantity;

    @Excel(name = "阅读数量")
    private BigDecimal revenue;

    private Long differentPlaces;

    private String articleExamine;


    private String type;

    public String getArticleExamine() {
        return articleExamine;
    }

    public void setArticleExamine(String articleExamine) {
        this.articleExamine = articleExamine;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getDifferentPlaces() {
        return differentPlaces;
    }

    public void setDifferentPlaces(Long differentPlaces) {
        this.differentPlaces = differentPlaces;
    }

    public BigDecimal getRevenue() {
        return revenue;
    }

    public void setRevenue(BigDecimal revenue) {
        this.revenue = revenue;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleId", getArticleId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("quantity", getQuantity())
            .toString();
    }
}
